<div id="content-main">
    <form enctype="multipart/form-data" action="." method="post" name="FileForm">
    {{ formset.management_form }}
    <div>
        {% if form.errors %}{{ form.errors }}{% endif %}
        <fieldset class="module aligned ()">
        {% for form in formset.forms %}
        <div class="form-row">
            {% if form.file.errors %}{{ form.file.errors }}{% endif %}
            <label>{{ form.file.label }} {{ forloop.counter }}</label>
            {{ form.file }}
        </div>
        {% endfor %}
        </fieldset>
        <div class="submit-row">
            <input type="submit" value="Wyślij" class="default" /><br class="clear" />
        </div>
    </div>
    </form>
    {% if link %}
	<strong>Poprawnie wysłano, link do obrazka:</strong>
	<center>
	    <code>/uploads/{{ link }}</code>
	</center>
    {% endif %}
</div>